package com.flower.dao;

import com.flower.pojo.Flower;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FlowerMapper {
    //获取花最新上传花的id.
    Integer queryAllFlower();

    //    添加商品
    int addFlower(Flower flower);

    // 查询商家所有花
    List<Flower> queryStoreFlower(@Param("sid") Integer sid);
}